package org.example.mapper;

import org.example.pojo.OrderDetail;
import java.util.List;

public interface OrderDetailMapper {
    OrderDetail getOrderDetailById(int id);
    List<OrderDetail> getOrderDetailsByOrderId(int orderId);
    int insertOrderDetail(OrderDetail orderDetail);
    int updateOrderDetail(OrderDetail orderDetail);
    int deleteOrderDetailById(int id);
}